package com.spc.car.data.service.project;

import com.spc.car.data.domain.htgg.vo.ProjectHtggPublishEditVO;
import com.spc.car.data.domain.htgg.vo.ProjectHtggPublishVO;
import com.spc.car.data.domain.htgg.xml.node.ContractPublish;
import com.spc.car.data.entity.project.ProjectHtggPublish;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 合同公告数据发布表 服务类
 * </p>
 *
 * @author 
 * @since 2020-04-14
 */
public interface ProjectHtggPublishService extends IService<ProjectHtggPublish> {

    /**
     * 添加合同公告数据
     * @param htggPublishVO
     */
    void add(ProjectHtggPublishVO htggPublishVO);

    /**
     * 编辑合同公告数据
     * @param htggPublishEditVO
     */
    void edit(ProjectHtggPublishEditVO htggPublishEditVO);

    /**
     * 获取合同公告数据映射xml对应的值
     * @param contractUUID
     * @return
     */
    ContractPublish getHtggInfo(@NotBlank String contractUUID);
}
